import unittest
from login.LoginEcShop import TestLogins
from BeautifulReport import BeautifulReport as bf

if __name__ == '__main__':
    suite = unittest.TestSuite()
    # suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestEcshopRegister))
    suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestLogins))
    runner = bf(suite)
    # runner.report(description='注册的测试用例', filename='RunEcshopRegister_Reporter_HTml')
    runner.report(description='Login的测试用例', filename='RunEcShopLogin_Reporter_HTml')
